import https from '../../utils/request';

export const GetUserSeries=(data)=>{//获取用户系列数据
    return https.post('/upload/series',data);
}

export const AddSeries=(data)=>{//添加用户系列数据
    return https.put('/upload/addSeries',data);
}

export const insertIntoArticles=(data,id)=>{//添加用户文章数据
    return https.put(`/upload/insertIntoArticles/${id}`,data);
}

export const GetHeatMap=(userId)=>{
    return https.get(`/home/heatMap/${userId}`)
}